package com.ycxy.sh.transaction.mapper;

import com.ycxy.sh.transaction.dao.entity.Reply;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *  评论回复 Mapper 接口
 *
 * @author hlt
 * @since 2019-12-21
 */
@Repository
public interface ReplyMapper {
    /**插入回复*/
    int inset(Reply reply);
    /**查询回复*/
    List<Reply> selectReplys(Long cid);
    /**查询回复中用户信息*/
    Reply selectReplyUserInfoById(Long rid);
    /**删除回复*/
    int delete(Reply reply);
}
